package com.cg.mapper;

import com.cg.entity.AiAnalysisTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AiAnalysisTaskMapper {
    int insert(AiAnalysisTask task);
    int update(AiAnalysisTask task);
    
    @Select("SELECT * FROM ai_analysis_task WHERE id = #{id}")
    AiAnalysisTask selectByTaskId(@Param("id") String id);
}


